package com.google.ads;

import android.app.Activity;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.View;
import com.google.ads.b.x;
import java.util.HashMap;

public class ak
{
  final x a;
  private final ah b;
  private boolean c;
  private boolean d;
  private aj e;
  private final ad f;
  private com.google.ads.c.b g;
  private boolean h;
  private boolean i;
  private View j;
  private final Handler k;
  private final String l;
  private final d m;
  private final HashMap n;

  public ak(ad paramad, x paramx, ah paramah, String paramString, d paramd, HashMap paramHashMap)
  {
    com.google.ads.util.b.a(TextUtils.isEmpty(paramString));
    this.f = paramad;
    this.a = paramx;
    this.b = paramah;
    this.l = paramString;
    this.m = paramd;
    this.n = paramHashMap;
    this.c = false;
    this.d = false;
    this.e = null;
    this.g = null;
    this.h = false;
    this.i = false;
    this.j = null;
    this.k = new Handler(Looper.getMainLooper());
  }

  public void a()
  {
    try
    {
      com.google.ads.util.b.a(this.h, "destroy() called but startLoadAdTask has not been called.");
      this.k.post(new al(this));
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public void a(Activity paramActivity)
  {
    try
    {
      com.google.ads.util.b.b(this.h, "startLoadAdTask has already been called.");
      this.h = true;
      this.k.post(new am(this, paramActivity, this.l, this.m, this.n));
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  void a(com.google.ads.c.b paramb)
  {
    try
    {
      this.g = paramb;
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  void a(boolean paramBoolean, aj paramaj)
  {
    try
    {
      this.d = paramBoolean;
      this.c = true;
      this.e = paramaj;
      notify();
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public boolean b()
  {
    try
    {
      boolean bool = this.c;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public boolean c()
  {
    try
    {
      com.google.ads.util.b.a(this.c, "isLoadAdTaskSuccessful() called when isLoadAdTaskDone() is false.");
      boolean bool = this.d;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public aj d()
  {
    try
    {
      if (this.e == null);
      for (aj localaj = aj.d; ; localaj = this.e)
        return localaj;
    }
    finally
    {
    }
  }

  public View e()
  {
    try
    {
      com.google.ads.util.b.a(this.c, "getAdView() called when isLoadAdTaskDone() is false.");
      View localView = this.j;
      return localView;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public String f()
  {
    try
    {
      if (this.g != null)
      {
        String str2 = this.g.getClass().getName();
        str1 = str2;
        return str1;
      }
      String str1 = "\"adapter was not created.\"";
    }
    finally
    {
    }
  }

  void g()
  {
    try
    {
      this.i = true;
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  boolean h()
  {
    try
    {
      boolean bool = this.i;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.google.ads.ak
 * JD-Core Version:    0.6.2
 */